package com.gitee.zhangchenyan.takin.common.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public  class BaseTree<T> {
    @ApiModelProperty("id")
    private long id;
    @ApiModelProperty("pid")
    private Long pid;
    @ApiModelProperty("子结构")
    private List<T> children;
    @ApiModelProperty("vue前端级联关系")
    private List<Long> cascadesIds;
}
